package com.irdstudio.efp.edoc.common;

public enum SysReportNameCNEnum {

    RPT_ACC_LOAN("rpt_acc_loan", "贷款台账");

    String key;
    String value;

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
    private SysReportNameCNEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public static String getValue(String key) {
        for (SysReportNameCNEnum ele : values()) {
            if(ele.getKey().equals(key)) {
                return ele.getValue();
            }
        }
        return null;
    }
}
